import 'dart:convert';
import 'package:flutter_app/generated/json/base/json_field.dart';
import 'package:flutter_app/generated/json/list_other_problem_entity.g.dart';

import 'file_path_entity.dart';

@JsonSerializable()
class ListOtherProblemEntity {

	List<ListOtherProblemContent>? content;
	int? pageNum;
	int? pageSize;
	int? totalPages;
	int? totalSize;
  
  ListOtherProblemEntity();

  factory ListOtherProblemEntity.fromJson(Map<String, dynamic> json) => $ListOtherProblemEntityFromJson(json);

  Map<String, dynamic> toJson() => $ListOtherProblemEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}

@JsonSerializable()
class ListOtherProblemContent {

	String? content;
	String? createTime;
	List<FilePathEntity>? fileList;
	String? flowStatus;
	String? id;
	String? title;
	String? userId;
	String? userName;
  
  ListOtherProblemContent();

  factory ListOtherProblemContent.fromJson(Map<String, dynamic> json) => $ListOtherProblemContentFromJson(json);

  Map<String, dynamic> toJson() => $ListOtherProblemContentToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}